package ru.papergames.utils.helpers
{
	import flash.xml.XMLNode;
	
	import mx.rpc.xml.SimpleXMLDecoder;
	
	public final class DataHelper
	{
		
		public static function fillObjectFromXML(obj:Object, xml:XML):void  {
			//hierarchically fill object fields			
			
			function parseNode(node:XML):void {
				var propertyName:String = node.localName() as String;
				
			}
			
			for each (var node:XML in xml) {
				parseNode(node);
			}
		}

	}
}